package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author Ye QS
 * @version 0.1
 * @className Dict
 * @description 字典类
 * @date 2024/9/14 16:48
 * @since jdk11
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("字典")
public class Dict implements Serializable {
    @ApiModelProperty(value = "主键ID", example = "1")
    private Integer id;

    @ApiModelProperty(value = "字典编码", example = "CODE123")
    private String dictCode;

    @ApiModelProperty(value = "字典名称", example = "字典项名称")
    private String dictName;

    @ApiModelProperty(value = "字典值", example = "字典项值")
    private String dictValue;

    @ApiModelProperty(value = "类型", example = "gender")
    private String type;

    @ApiModelProperty(value = "父ID", example = "0")
    private Integer parentId;

    @ApiModelProperty(value = "排序", example = "0")
    private Integer sorts;

}
